

local ResMgr = BaseClass(Singleton)

local isDev = true
function  ResMgr:__init()
    
end


local function  LoadAsset(assetPath,assetType,CB)
    local obj=nil
    if isDev then
        if assetType==GameObject then
        obj = UtilsCSharp.LoadAssetAtPath(assetPath)
        end
        --elseif assetType==
    else

    end
    if CB ~= nil then
        CB(obj)
    end
end

function  ResMgr:LoadPrefabAsset(assetPath,CB)
    LoadAsset(assetPath,typeof(GameObject),CB)
end

return ResMgr